[XEND] Remove annoying debugging messages
authorAlastair Tse <atse@xensource.com>
Fri, 6 Oct 2006 10:56:36 +0000 (11:56 +0100)
committerAlastair Tse <atse@xensource.com>
Fri, 6 Oct 2006 10:56:36 +0000 (11:56 +0100)
Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/xen/xend/XendAPI.py
tools/python/xen/xend/XendAuthSessions.py

index f89453bad8e147494b9f23d38cad0e0b818295be..042fd5b359f917093b1b4ed5f4452af0ee98f514 100644 (file)
@@ -291,7 +291,6 @@ class XendAPI:
     def session_login_with_password(self, username, password):
         try:
             session = auth_manager().login_with_password(username, password)
-            log.info("User %s logged in.", username)
             return xen_api_success(session)
         except XendError, e:
             return xen_api_error(XEND_ERROR_AUTHENTICATION_FAILED)
index b9f3e18cf722ce246220d278e025a75463349cb1..7ced317e97c520901f4fc5bc2f7f24d9c4529d0d 100644 (file)
@@ -44,7 +44,6 @@ class XendAuthSessions:
             del self.sessions[session]
 
     def is_session_valid(self, session):
-        log.debug('isSessionValid: %s' % session)
         if type(session) == type(str()):
             return (session in self.sessions)
         return False